package com.ldd.mybatis.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class DeptAndEmp {
    private Integer id;
    private int empno;
    private String eName;
    private String job;
    private String mgr;
    private Date hireDate;
    private double sal;
    private double comm;

    private Dept dept;
}
